package com.njlime.setting.repository;

import com.njlime.core.helper.PageBean;
import com.njlime.setting.entities.AnnounceCategory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * 帮助公告
 * Created by Dean on 2018-1-16.
 */
public interface AnnounceCategoryDao extends JpaRepository<AnnounceCategory, Integer>, JpaSpecificationExecutor<AnnounceCategory> {
    PageBean categoryList(PageBean pageBean, AnnounceCategory announceCategory);
}
